package io.renren.modules.back.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.modules.back.dao.AdDao;
import io.renren.modules.back.entity.AdEntity;
import io.renren.modules.back.service.AdService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 广告Service接口实现类
 *
 * @author zzh
 * @email 862583291@qq.com
 * @date 2019年5月11日 上午15:28:55
 */
@Service("adService")
public class AdServiceImpl extends ServiceImpl<AdDao, AdEntity> implements AdService {
    @Override
    public List<AdEntity> queryList(Map<String, Object> map) {
        return baseMapper.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return baseMapper.queryTotal(map);
    }
}
